package com.jenkins.maven;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
public class JenkinsMavenTestApplication {

	@GetMapping({"/", "/index"})
	public String index() {
		return "SpringBoot项目启动成功 修改一下";
	}

	public static void main(String[] args) {
		SpringApplication.run(JenkinsMavenTestApplication.class, args);
	}

}
